package tests.pojos;


public class BookCirc {
	
	private String name;
	private int yearOfPub;
	private AuthorCirc a;
	
	public BookCirc(String name, int yearOfPub){
		this.name = name;
		this.yearOfPub = yearOfPub;
	}
	
	public void setAuthor(AuthorCirc a){
		this.a = a;
	}
	
	public int getYearOfPub(){
		return this.yearOfPub;
	}
	
	public String getName(){
		return this.name;
	}
	
	public AuthorCirc getAuthor(){
		return a;
	}
	
}
